package com.partners.dao.basic;

import com.partners.dao.bo.PointProductDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PointProductDao {
    int deleteByPrimaryKey(Integer id);

    int insert(PointProductDO record);

    int insertSelective(PointProductDO record);

    PointProductDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PointProductDO record);

    int updateByPrimaryKeyWithBLOBs(PointProductDO record);

    int updateByPrimaryKey(PointProductDO record);

    List<Map<String,Object>> getProductListSelective(@Param("title")String title,
                                                     @Param("classId") Integer classId,
                                                     @Param("type") Integer type);

    List<String> getProductPicList(@Param("id") Integer id);

    void deleteContentByProductId(Integer id);

    void deletePicByProductId(Integer id);
}
